package xcmg.device.service.vo.logistic;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @Des 物流运单打印返回结果实体
 * @Date 2021/5/22 13:53
 * @Author wangzhaoyu
 * @Param
 * @Return
 */
public class LogisticBillwayPrintVO {

    //表头信息
    private HeadInfo headInfo;
    //关联单据详情
    private List<LinkBillDetail> linkBillDetails;

    public HeadInfo getHeadInfo() {
        return headInfo;
    }

    public void setHeadInfo(HeadInfo headInfo) {
        this.headInfo = headInfo;
    }

    public List<LinkBillDetail> getLinkBillDetails() {
        return linkBillDetails;
    }

    public void setLinkBillDetails(List<LinkBillDetail> linkBillDetails) {
        this.linkBillDetails = linkBillDetails;
    }

    public static class HeadInfo{
        //物流运单号
        private String wayBillNo;
        //客户名称
        private String dealerOrgName;
        //发运方式
        private String shippingMethod;
        //发货日期
        private Date deliveryTime;
        //承运商
        private String carrierOrgName;
        //制单人
        private String createUserName;
        //制单时间
        private Date createDate;
        //单据状态 0：保存，1：已提交，2：审核通过，-1：审核拒绝,-2：已删除
        private Integer status;
        //收货人
        private String receiverName;
        //联系方式
        private String receiverTel;
        //收货地址
        private String receiverAddress;
        //审核人
        private String auditUserName;
        //审核意见
        private String auditRemark;

        public String getWayBillNo() {
            return wayBillNo;
        }

        public void setWayBillNo(String wayBillNo) {
            this.wayBillNo = wayBillNo;
        }

        public String getDealerOrgName() {
            return dealerOrgName;
        }

        public void setDealerOrgName(String dealerOrgName) {
            this.dealerOrgName = dealerOrgName;
        }

        public String getShippingMethod() {
            return shippingMethod;
        }

        public void setShippingMethod(String shippingMethod) {
            this.shippingMethod = shippingMethod;
        }

        public Date getDeliveryTime() {
            return deliveryTime;
        }

        public void setDeliveryTime(Date deliveryTime) {
            this.deliveryTime = deliveryTime;
        }

        public String getCarrierOrgName() {
            return carrierOrgName;
        }

        public void setCarrierOrgName(String carrierOrgName) {
            this.carrierOrgName = carrierOrgName;
        }

        public String getCreateUserName() {
            return createUserName;
        }

        public void setCreateUserName(String createUserName) {
            this.createUserName = createUserName;
        }

        public Date getCreateDate() {
            return createDate;
        }

        public void setCreateDate(Date createDate) {
            this.createDate = createDate;
        }

        public Integer getStatus() {
            return status;
        }

        public void setStatus(Integer status) {
            this.status = status;
        }

        public String getReceiverName() {
            return receiverName;
        }

        public void setReceiverName(String receiverName) {
            this.receiverName = receiverName;
        }

        public String getReceiverTel() {
            return receiverTel;
        }

        public void setReceiverTel(String receiverTel) {
            this.receiverTel = receiverTel;
        }

        public String getReceiverAddress() {
            return receiverAddress;
        }

        public void setReceiverAddress(String receiverAddress) {
            this.receiverAddress = receiverAddress;
        }

        public String getAuditUserName() {
            return auditUserName;
        }

        public void setAuditUserName(String auditUserName) {
            this.auditUserName = auditUserName;
        }

        public String getAuditRemark() {
            return auditRemark;
        }

        public void setAuditRemark(String auditRemark) {
            this.auditRemark = auditRemark;
        }
    }
    /**
     * @Des 关联单据详情
     * @Date 2021/5/14 14:37
     * @Author wangzhaoyu
     */
    public static class LinkBillDetail{
        //零件号
        private String materailsNo;
        //零件名称
        private String materialsDesc;
        //数量
        private BigDecimal amount;
        //单据号
        private String businessOrder;
        //单位
        private String unit;

        public String getMaterailsNo() {
            return materailsNo;
        }

        public void setMaterailsNo(String materailsNo) {
            this.materailsNo = materailsNo;
        }

        public String getMaterialsDesc() {
            return materialsDesc;
        }

        public void setMaterialsDesc(String materialsDesc) {
            this.materialsDesc = materialsDesc;
        }

        public BigDecimal getAmount() {
            return amount;
        }

        public void setAmount(BigDecimal amount) {
            this.amount = amount;
        }

        public String getBusinessOrder() {
            return businessOrder;
        }

        public void setBusinessOrder(String businessOrder) {
            this.businessOrder = businessOrder;
        }

        public String getUnit() {
            return unit;
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }
    }
}
